/*
 * @Description: 
 * @Author: 张凌瑞
 * @Date: 2021-03-06 10:16:48
 * @LastEditTime: 2021-03-08 15:33:41
 * @LastEditors: 张凌瑞
 */


 
import { request } from 'umi';

//获取试卷列表
export const examList = () => {
    return request("/exam/exam", { method: 'GET' });
}

//获取所有考试类型
export const examType = () => {
    return request("/exam/examType", { method: 'get' });
}

//获取所有课程
export const classType = () => {
    return request("/exam/subject", { method: 'get' });
}

